package org.jeecg.modules.engineer.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecg.modules.order.entity.MtRepairOrder;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @Description: 工程师表
 * @Author: wrx
 * @Date:   2023-12-08
 * @Version: V1.0
 */
@Data
@TableName("mt_engineer")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="mt_engineer对象", description="工程师表")
public class MtEngineerVo implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**服务商*/
	@Excel(name = "服务商", width = 15, dictTable = "mt_service_providers", dicText = "pro_name", dicCode = "id")
	@Dict(dictTable = "mt_service_providers", dicText = "pro_name", dicCode = "id")
    @ApiModelProperty(value = "服务商")
    private String providerId;
	/**服务站*/
	@Excel(name = "服务站", width = 15, dictTable = "mt_service_station", dicText = "station_name", dicCode = "id")
	@Dict(dictTable = "mt_service_station", dicText = "station_name", dicCode = "id")
    @ApiModelProperty(value = "服务站")
    private String stationId;
	/**姓名*/
	@Excel(name = "姓名", width = 15)
    @ApiModelProperty(value = "姓名")
    private String engineerName;
	/**身份证*/
	@Excel(name = "身份证", width = 15)
    @ApiModelProperty(value = "身份证")
    private String idCard;
	/**手机号*/
	@Excel(name = "手机号", width = 15)
    @ApiModelProperty(value = "手机号")
    private String engineerMobile;
	/**技能专长*/
	@Excel(name = "技能专长", width = 15, dicCode = "skill_code")
	@Dict(dicCode = "skill_code")
    @ApiModelProperty(value = "技能专长")
    private String skill;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remarks;
    @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @ApiModelProperty(value = "关联账户")
    private String userId;
    /**是否接单*/
    @Excel(name = "是否接单", width = 15)
    @ApiModelProperty(value = "是否接单")
    private boolean isAccept;
    /**是否签到*/
    @Excel(name = "是否签到", width = 15)
    @ApiModelProperty(value = "是否签到")
    private boolean isSignIn;
}
